<?php
require_once "session.php";
$weixin_id=$_SESSION["user"];
$user = $core->GetUserByWxId($weixin_id);
$card_id=$_POST["card_id"];
$money=$_POST["money"];

$result=$core->SetUserWithdraw($user["id"],$money,$card_id);

if($result!="") echo $result;